#include <tchar.h>
#include <windows.h>

bool clear(_TCHAR* executableFileName) {
    HANDLE update = BeginUpdateResource( executableFileName, TRUE );
    if(update == NULL) {
        return false;
    }
    return EndUpdateResource(update, FALSE) == TRUE;
}
